#include "SL.h"

static const int randMax = 100000;

void test1()
{
    SkipList *sl = new SkipList(randMax);
    for (int i = 1; i <= 20; ++i)
    {
        sl->insert(i);
    }
    sl->dumpAllNodes();
    cout << sl->search(20) << endl;
    delete sl;
}

int main(int argc, char **argv)
{
    test1();
    return 0;
}